<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>用户注册 | 烦恼留声机</title>
	
<h2>User Register</h2>

<?php echo validation_errors(); 
	if (isset($notice)) {
		echo $notice;
	}
?>

<?php echo form_open('user/register'); ?>

    <label for="name">NAME</label>
    <input type="input" name="name" /><br />

	<label for="email">EMAIL</label>
    <input type="input" name="email" /><br />

	<label for="nickname">NICKNAME</label>
    <input type="input" name="nickname" /><br />
	
	<label for="password">PASSWORD</label>
    <input type="input" name="password" /><br />

	<label for="utype">USERTYPE</label>
	<select name="utype">
		<option value="vul">Volunteer</option>
		<option value="user">User</option>
	</select>

    <input type="submit" name="submit" value="CREATE!" />

</form>
	

</body>
</html>